app = @bhv

app.directive('userGroup', ->
  restrict: 'E'
  replace: true
  templateUrl: "views/chart/user-group.html"
  scope: userGroup: '='
  link: ($scope, element, attrs)->
    $scope.range = (num)-> new Array(num)
)